package com.yida.gwj.expend.domain.message;

import java.io.Serializable;

/**
 * mq基础结果
 *
 * @author liangp
 * @date 2023/02/21
 */
public class MqBaseResult implements Serializable {

    private static final long serialVersionUID = 1L;

    public MqBaseResult(String key, String jsonMsg) {
        this.key = key;
        this.jsonMsg = jsonMsg;
    }

    public String getKey() {
        return key;
    }

    @Override
    public String toString() {
        return "MqBaseResult{" +
                "key='" + key + '\'' +
                ", jsonMsg='" + jsonMsg + '\'' +
                '}';
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getJsonMsg() {
        return jsonMsg;
    }

    public void setJsonMsg(String jsonMsg) {
        this.jsonMsg = jsonMsg;
    }

    /**
     * MQ传递唯一值
     */
    private String key;

    /**
     * json信息串
     */
    private String jsonMsg;

}
